package com.cskaoyan.model.admin.vo;

/**
 * @author hanshuai
 * @version 1.0
 * @description @TODO
 * @date 2021/11/29 17:47
 */
import lombok.Data;


import java.util.List;

/**
 * @author stone
 * @date 2021/11/29 15:37
 */
@Data
public class BaseData {
    Integer page;
    Integer limit;
    Integer total;
    Integer pages;
    List list;

    public static BaseData list(List list,Integer total,Integer page,Integer limit,Integer pages) {
        BaseData data1 = new BaseData();
        data1.setList(list);
        data1.setTotal(total);
        data1.setLimit(limit);
        data1.setPage(page);
        data1.setPages(pages);
        return data1;
    }

}
